<template lang="html">
  <div class="slot-test">
    <slot>首页</slot>
    <span>返回</span>
  </div>
</template>
<script>
export default {
  
}
</script>
<style lang="css">
  .slot-test{
    display: flex;
    justify-content: center;
  }
  .slot-test > span{
     font-size: small;
     align-self: flex-end;
  }
</style>